package com.ug.managent.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ug.common.annotation.Excel;
import com.ug.common.core.domain.BaseEntity;

/**
 * 城市信息对象 cities
 * 
 * @author ruoyi
 * @date 2025-04-28
 */
public class Cities extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Integer id;

    /** 城市名称 */
    @Excel(name = "城市名称")
    private String name;

    /** 国家代码 */
    @Excel(name = "国家代码")
    private String countryCode;

    /** 州/省代码 */
    @Excel(name = "州/省代码")
    private String stateCode;

    /** 城市中心经度 */
    @Excel(name = "城市中心经度")
    private BigDecimal centerLongitude;

    /** 城市中心纬度 */
    @Excel(name = "城市中心纬度")
    private BigDecimal centerLatitude;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setCountryCode(String countryCode) 
    {
        this.countryCode = countryCode;
    }

    public String getCountryCode() 
    {
        return countryCode;
    }

    public void setStateCode(String stateCode) 
    {
        this.stateCode = stateCode;
    }

    public String getStateCode() 
    {
        return stateCode;
    }

    public void setCenterLongitude(BigDecimal centerLongitude) 
    {
        this.centerLongitude = centerLongitude;
    }

    public BigDecimal getCenterLongitude() 
    {
        return centerLongitude;
    }

    public void setCenterLatitude(BigDecimal centerLatitude) 
    {
        this.centerLatitude = centerLatitude;
    }

    public BigDecimal getCenterLatitude() 
    {
        return centerLatitude;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("countryCode", getCountryCode())
            .append("stateCode", getStateCode())
            .append("centerLongitude", getCenterLongitude())
            .append("centerLatitude", getCenterLatitude())
            .toString();
    }
}
